// Triangle klasse

#pragma once

#include "../../Base/DxDevice.h"

class GameEngine;

struct SimpleVertex
{
    D3DXVECTOR3 Pos;
};

class Triangle
{
public:
	Triangle(const D3DXVECTOR3& pos, float scale);
	virtual ~Triangle();

	void Draw();

private:
	void Init();

	float m_Scale;
	D3DXVECTOR3 m_Pos;

	ID3D10Effect* m_EffectPtr;
	ID3D10EffectTechnique* m_TechniekPtr;
	ID3D10InputLayout* m_VertexLayoutPtr;
	ID3D10Buffer* m_VertexBufferPtr;

	Triangle(const Triangle &t);
	Triangle& operator= (const Triangle &t);
};